package com.translate.web.param;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.ITeamSigningRewardsAddParam;
public class TeamSigningRewardsAddParam implements ITeamSigningRewardsAddParam {// 消费金额

private BigDecimal price;
// 预存类型 0  以上  1 常规
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte type;
// 折扣

private Float discount;
// 排序
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer sort;



public BigDecimal getPrice() {
        return price;
    }
public void setPrice(BigDecimal price) {
        this.price = price;
    }
public Byte getType() {
        return type;
    }
public void setType(Byte type) {
        this.type = type;
    }
public Float getDiscount() {
        return discount;
    }
public void setDiscount(Float discount) {
        this.discount = discount;
    }
public Integer getSort() {
        return sort;
    }
public void setSort(Integer sort) {
        this.sort = sort;
    }




}